﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Idte.Application.PDN.Models
{
    public class QuestionAnswer
    {
        public bool Correct { get; set; }

        [ForeignKey("QuestionId")]
        public CompetencyQuestion Question { get; set; }
        [Key, Column(Order = 0)]
        public Guid QuestionId { get; set; }

        [ForeignKey("AnswerId")]
        public CompetencyAnswer Answer { get; set; }
        [Key, Column(Order = 1)]
        public Guid AnswerId { get; set; }



    }
}